#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//int main()
//{
//	
//	for (int i = 3; i <= 100&&i%3==0; i += 3)
//	{
//		printf("%d ", i);
//	}
//	return 0;
//
//}
int main()
{
	int a, b, c;
	int change;
	scanf("%d %d %d", &a, &b, &c);
	if (a < b)
	{
		change = a;
		a = b;
		b = change;
    }
	if (a < c)
	{
		change = a;
		a = c;
		c = change;
	}
	if (b < c)
	{
		change = b;
		b = c;
		c = change;
	}
	
	printf("%d %d %d", a, b, c);
	return 0;
	
}